import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '印章名称',
    align: "center",
    sorter: true,
    dataIndex: 'sealName'
  },
  {
    title: '印章图片',
    align: "center",
    dataIndex: 'sealImg',
    customRender: render.renderImage,
  },
  {
    title: '备注说明',
    align: "center",
    dataIndex: 'sealRemark'
  },
  {
    title: '印章密码',
    align: "center",
    dataIndex: 'sealPassword'
  },
];

// 高级查询数据
export const superQuerySchema = {
  sealName: {title: '印章名称',order: 0,view: 'text', type: 'string',},
  sealImg: {title: '印章图片',order: 1,view: 'image', type: 'string',},
  sealRemark: {title: '备注说明',order: 2,view: 'textarea', type: 'string',},
  sealPassword: {title: '印章密码',order: 3,view: 'password', type: 'string',},
};
